package ooday05;

/**
 * Static variable
 */
public class StaticVar {
    private int a;//实例变量
     static int b;//静态变量

    StaticVar() {
        a++;
        b++;
    }

    public void show() {
        System.out.println("a=" + a + ", b=" + b);
    }
}
